package encryption;

public interface EncryptionPlugin {

	/**
	 * @param str the password to use when encrypting the messages
	 */
	public void setPassword(String str);
	
	/**
	 * @param i, if your Encryption Plugin has multiple encryption
	 * types, then this is used to choose between them. Otherwise ignore this.
	 */
	public void setMethod(int i);
	
	/**
	 * @param str String to encrypt.
	 * @return returns encrypted string.
	 */
	public String encrypt(String str);
	
	/**
	 * @param str encrypted string to decrypt.
	 * @return returns decryted string.
	 */
	public String decrypt(String str);
	
}
